package com.itheima.pojo;

public class AssetCode {
    private int id;
    private String code;

    // 构造方法
    public AssetCode() {}

    public AssetCode(int id, String code) {
        this.id = id;
        this.code = code;
    }

    // Getter 和 Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    // toString 方法
    @Override
    public String toString() {
        return "AssetCode{" +
                "id=" + id +
                ", code='" + code + '\'' +
                '}';
    }
}